package com.example.java.base.concurrency.threadpool;

import com.example.java.base.concurrency.threadpool.task.DemoTask;

/**
 * EveryTaskOneThread:手动创建单个线程示例1(不合理)
 * https://zhangxiaoxiang.blog.csdn.net/article/details/107590890
 *
 * @author zhangxiaoxiang
 * @date 2020/11/5
 */
public class A1EveryTaskOneThread {

    public static void main(String[] args) {
        //这里显示的创建线程
        Thread thread = new Thread(new DemoTask());
        //调用线程执行任务
        thread.start();
    }



}
